package com.indexingsystem.boss.admin.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.indexingsystem.boss.entity.ArticleContents;

public interface ArticleContentsMapper {
    int deleteByPrimaryKey(String resId);

    int insert(ArticleContents record);

    int insertSelective(ArticleContents record);

    ArticleContents selectByPrimaryKey(String resId);

    int updateByPrimaryKeySelective(ArticleContents record);

    int updateByPrimaryKeyWithBLOBs(ArticleContents record);
    
    
    /**
     * 批量清理文章内容列表.
     * @param list
     * @return
     */
    int deleteBatchArticleContentsByResIdList(@Param("list") List<String> list);
}